package com.basic.modules.ykf.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import com.basic.common.annotation.DictParam;
import lombok.Data;

/**
 * 短信发送记录
 *
 * @author maoheng
 * @email 15738859597@163.com
 * @date 2024-07-29 16:38:19
 */
@Data
@TableName("ykf_msg_record")
public class YkfMsgRecordEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableField(exist = false)
	private String keyword;

	@TableField(exist = false)
	private String dateStart;

	@TableField(exist = false)
	private String dateEnd;

	/**
	 * ID
	 */
	@TableId
	private Long msgId;
	/**
	 * 手机号
	 */
	private String mobile;
	/**
	 * 短信模板
	 */
	private String msgTmp;
	/**
	 * 短信内容
	 */
	private String msgContent;
	/**
	 * 登记时间
	 */
	private Date recordTime;
	/**
	 * 预发送时间
	 */
	private Date preSendTime;
	/**
	 * 实际发送时间
	 */
	private Date sendTime;
	/**
	 * 状态 1-已发送/0-未发送
	 */
	private Integer status;
	/**
	 * 其它
	 */
	private String other;
	/**
	 * 创建者ID
	 */
	@TableField(fill = FieldFill.INSERT)
	private Long createUserId;
	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	private Date createTime;
	/**
	 * 创建人名称
	 */
	@DictParam(field = "createUserId", targetField = "createUserName", dictType = "flowerName")
	@TableField(fill = FieldFill.INSERT)
	private String createUserName;

}
